package cn.life.business.warehouse.service;

import cn.life.business.warehouse.entity.po.Warehouse;
import cn.life.business.warehouse.entity.po.WarehouseDetails;
import cn.life.business.warehouse.entity.vo.WarehouseVo;
import cn.life.common.entity.model.CMessage;

/**
 * @author 王振宇
 * @Description:
 * @Date 2018-07-31 14:36:37
 */

public interface WarehouseService {
    /**
     * @Description:    新增仓库记录
     * @param warehouse
     * @return:
     * @Author 王振宇
     * @Date 2018/07/31
     */
   CMessage addWarehouse(Warehouse warehouse);

    /**
     * @Description:    删除仓库记录
     * @param warehouse
     * @return:
     * @Author 王振宇
     * @Date 2018/08/01
     */
    CMessage deletewarehouse(Warehouse warehouse);

    /**
     * @Description:    修改仓库记录
     * @param warehouse
     * @return:
     * @Author 王振宇
     * @Date 2018/08/01
     */
    CMessage updateWarehouse(Warehouse warehouse);

    /**
     * @Description:    修改明细记录
     * @param warehouseDetails
     * @return:
     * @Author 王振宇
     * @Date 2018/08/01
     */
    CMessage updateWarehouseDetails(WarehouseDetails warehouseDetails);

    /**
     * @Description:    查询仓库记录
     * @param warehouseVo
     * @return:
     * @Author 王振宇
     * @Date 2018/08/01
     */
    CMessage selectWarehouse(WarehouseVo warehouseVo);

    /**
    * @Description:    查询仓库记录(详情)
    * @param warehouseVo
    * @return:
    * @Author 王振宇
    * @Date 2018/08/01
    */
   CMessage getWarehouse(WarehouseVo warehouseVo);

 /**
  * @Description:    查询仓库记录(详情)
  * @param warehouseVo
  * @return:
  * @Author 王振宇
  * @Date 2018/08/02
  */
 CMessage getWarehouseByState(WarehouseVo warehouseVo);
    /**
     * @Description:    查询仓库详细信息
     *
     * @param warehouseVo
     * @return:
     *
     * @Author 李佳明
     * @Date 2018-09-06 下午 1:40
     */
    CMessage queryWarehouseDetail(WarehouseVo warehouseVo);
}
